This command will deactivate the escape key.
DISABLE ESCAPEKEY
This command does not return a value.
Be aware that this command will prevent breaking back into your program without a suitable exit condition.
cls disable escapekey print "ESCAPE No Longer Quits - Press Any Key" wait key enable escapekey do loop end
SYSTEM Commands Menu Index